package com.gitpractice.liwushuo.content;

/**
 * Created by Administrator
 * time 2016/7/20.
 */
public class UrlString {
    public static final String URL_HORIZTSCOLLVIEW = "http://api.liwushuo.com/v2/channels/preset?gender=1&generation=2";
    public static final String[] URL_HOME = {
            "http://api.liwushuo.com/v2/channels/101/items_v2?ad=2&gender=1&generation=2&limit=20&offset=0",
            "http://api.liwushuo.com/v2/channels/129/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/10/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/125/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/26/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/6/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/17/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/24/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/127/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/14/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/126/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/28/items_v2?gender=1&limit=20&offset=0&generation=2",
            "http://api.liwushuo.com/v2/channels/11/items_v2?gender=1&limit=20&offset=0&generation=2"};
    //热门url
    public static final String URL_SELECT = "http://api.liwushuo.com/v2/items?gender=1&limit=20&offset=0&generation=2";
    //分类-攻略-出去栏目以下的接口
    public static final String URL_CATEGORY_FIRST = "http://api.liwushuo.com/v2/channel_groups/all";
    //分类-单品url
    public static final String URL_CATEGORY_SECOND = "http://api.liwushuo.com/v2/item_categories/tree";
    //分类-攻略-栏目
    public static final String URL_CATEGORY_BANNERS = "http://api.liwushuo.com/v2/columns";
    //指南-广告1
    public static final String URL_FIRST_BANNERS = "http://api.liwushuo.com/v2/banners";
    //指南-广告2
    public static final String URL_SECOND_BANNERS = "http://api.liwushuo.com/v2/secondary_banners?gender=1&generation=2";
    //指南-时间
    public static final String URL_TIME = "http://api.liwushuo.com/v2/content_schedules?generation=2&gender=1";
    public static final int COLOR_RB_UNCHECKED = 0xFF9d9f9f;
    public static final int COLOR_RB_CHECKED = 0xFFFF2D47;
    public static final String TAG = "mtag";

    //作者点击跳转id改变，其他不变
    public static final String URL_INTENT_AUTHOR = "http://api.liwushuo.com/v2/post_authors/19?limit=20&offset=0";
    public static String getAuthorIntentUrl(int id){
        return "http://api.liwushuo.com/v2/post_authors/"+id+"?limit=20&offset=0";
    }
    //title点击跳转id改变，其他不变
    public static final String URL_INTENT_TITLE = "http://api.liwushuo.com/v2/columns/46?limit=20&offset=0";
    public static String getTitleIntentUrl(int id){
        return "http://api.liwushuo.com/v2/columns/"+id+"?limit=20&offset=0";
    }
    //digest，image点击跳转，同上
    public static final String URL_INTENT_IMAGE = "http://api.liwushuo.com/v2/posts_v2/1044647?show_baichuan=1";
    public static String getImageIntentUrl(int id){
        return "http://api.liwushuo.com/v2/posts_v2/"+id+"?show_baichuan=1";
    }

}
